Skip to content

chore(deps): move to Go 1.27.1 - #199

Merged
duynhne merged 1 commit into
mainfrom
chore/go-1.27
Oct 1, 2026
Merged

duynhne merged 1 commit into
mainfrom
chore/go-1.27

Conversation

@duynhne

@duynhne duynhne commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

What

  • go.mod: go 1.27.1; duynhlab/pkg modules at their Go 1.27 tags (authmwv0.38.0, dbxv0.38.0, httpmwv0.4.0, httpxv0.38.0, logger/slogxv0.4.0, migratexv0.37.0, obsxv0.48.0).
  • Dockerfile: builder docker.io/library/golang:1.27.1-alpine (runtime unchanged).
  • Workflows: every duynhlab/gha-workflows pin at ff848d88 (lint fallback golangci-lint v2.14.0).
  • README runtime row: Go 1.27.

Supersedes the Dependabot builder-image PR, which would have shipped a binary no test ran.

Verified locally (go1.27.1)

  • go build, go vet, go test -race, integration tests (testcontainers)
  • golangci-lint v2.14.0 built on go1.27.1: repo config + fleet policy, 0 findings
  • docker buildx build of the image; go mod tidy stable
  • encoding/json (now on the json/v2 engine): a probe of struct, map, syntax-error and type-mismatch cases gives the same error strings and bytes as 1.26.7; the release gate covers real payloads

Part of duynhlab/homelab#1107 (G2).

Build and test on Go 1.27.1: the go directive, the golang builder
image and every duynhlab/pkg module move together, so the binary
that ships is the one CI tested. The pkg modules were re-tagged on
go 1.27.1 for this. Reusable workflow pins move to the gha-workflows
commit whose lint fallback is golangci-lint v2.14.0, the first
release line that lints go1.27 code.

encoding/json now runs on the json/v2 engine. A probe of struct,
map, syntax-error and type-mismatch cases gave the same error
strings and the same marshalled bytes on 1.26.7 and 1.27.1; the
release gate exercises the real payloads.
@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2026

Copy link
Copy Markdown

@duynhne
duynhne merged commit debe5e1 into main Oct 1, 2026
12 checks passed
@duynhne
duynhne deleted the chore/go-1.27 branch October 1, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant